package com.itheima.domian;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author 12441
 * @Date 2022/8/21 9:42
 * @Version 1.0
 */
@Data
public class AddressBook implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String userId;
    private String consignee;
    private String phone;
    private String sex;
    private String detail;
    private String label;
    private Integer isDefault;
}
